// 自动生成模板UserBanner
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type UserBanner struct {
      global.GVA_MODEL
      Content  string `json:"content" form:"content" gorm:"column:content;comment:内容;type:blob;"`
      Img  string `json:"img" form:"img" gorm:"column:img;comment:首页banner图;type:varchar(255);"`
      Type  int `json:"type" form:"type" gorm:"column:type;comment:类型？;type:int;size:10;"`
}


func (UserBanner) TableName() string {
  return "user_banner"
}

